package com.jushu.storbox.constant;

import java.io.File;

import android.content.Context;

import com.jushu.storbox.util.DirectoryUtil;

public class SystemConfig {

	public static void init(Context context) {
		String[] filePath = { 
			ClientConfig.LOGPATH, 
			DirectoryUtil.getCurrentCachePath(context)+ClientConfig.CACHE_CONTEXT
		};
		
		for (int i = 0; i < filePath.length; i++) {
			File file = new File(filePath[i]);
			if (!file.exists()) {
				file.mkdirs();
			}
		}
	}
}
